package com.supermarket.manage.common.constant;

/**
 * @author Faxon
 * @version 1.0
 * @date 2020-03-18 20:58
 **/
public class ExportConstant {
    /**
     * 采购单导出常量
     */
    public static final String PURCHASE_SHEETNAME = "采购入库单";
    public static final String[] PURCHASE_HEADERSNAME = {"序号", "编号", "供应商", "经办人", "应付金额", "实付金额", "备注", "单据状态", "采购时间"};
    public static final String[] PURCHASE_KEYS = {"id", "supplier", "operator", "totalPrice", "actuallyPrice", "remark", "status", "updated"};

    /**
     * 销售退货单导出常量
     */
    public static final String SALEBACK_SHEETNAME = "销售退货入库单";
    public static final String[] SALEBACK_HEADERSNAME = {"序号", "编号", "经办人", "应付金额", "实付金额", "备注", "单据状态", "退货时间"};
    public static final String[] SALEBACK_KEYS = {"id", "operator", "totalPrice", "actuallyPrice", "remark", "status", "updated"};

    /**
     * 采购退货出库单导出常量
     */
    public static final String PURCHASEBACK_SHEETNAME = "采购退货出库单";
    public static final String[] PURCHASEBACK_HEADERSNAME = {"序号", "编号", "经办人", "应付金额", "实付金额", "备注", "单据状态", "退货时间"};
    public static final String[] PURCHASEBACK_KEYS = {"id", "operator", "totalPrice", "actuallyPrice", "remark", "status", "updated"};

    /**
     * 销售出库单导出常量
     */
    public static final String SALE_SHEETNAME = "销售出库单";
    public static final String[] SALE_HEADERSNAME = {"序号", "编号", "经办人", "会员手机号", "应付金额", "实付金额", "备注", "单据状态", "销售时间"};
    public static final String[] SALE_KEYS = {"id", "operator", "mPhone", "totalPrice", "actuallyPrice", "remark", "status", "updated"};

    /**
     * 盘点单导出常量
     */
    public static final String STOCKING_SHEETNAME = "盘点单";
    public static final String[] STOCKING_HEADERSNAME = {"序号", "编号", "经办人", "金额", "备注", "单据状态", "盘点时间"};
    public static final String[] STOCKING_KEYS = {"id", "operator", "totalPrice", "remark", "status", "updated"};

    /**
     * 会员列表导出常量
     */
    public static final String MEMBER_SHEETNAME = "会员列表";
    public static final String[] MEMBER_HEADERSNAME = {"序号", "会员手机号", "添加人", "会员积分", "添加时间"};
    public static final String[] MEMBER_KEYS = {"mphone", "createdManName", "integral", "created"};

    /**
     * 员工列表导出常量
     */
    public static final String USER_SHEETNAME = "会员列表";
    public static final String[] USER_HEADERSNAME = {"序号", "员工名", "手机号", "员工角色", "添加时间"};
    public static final String[] USER_KEYS = {"username", "phone", "roleName", "created"};
}
